<template>
	<image :src="src"
	mode="widthFix" :style="getStyle" :class="type"></image>
</template>

<script>
	export default{
		props: {
			src: {
				type: String,
				default: "../../static/logo.png"
			},
			type:{
				type:String,
				default:"rounded"
			},
			size:{
				type:[String,Number],
				default:92
			}
		},
		computed: {
			getStyle() {
				return `width: ${this.size}rpx;height: ${this.size}rpx;` 
			}
		},
	}
</script>

<style>
</style>
